home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / last_instructions < prev    next >
Text File  |  2001-04-06  |  1KB  |  32 lines

  1. SYNOPSIS
  2.         string *last_instructions (int length, int verbose)
  3.  
  4. DESCRIPTION
  5.  
  6.         Return an array showing the 'length' last executed
  7.         instructions in disassembled form. If 'verbose' is non-zero
  8.         (the default), line number information are also included.
  9.         Each string is built as this:
  10.  
  11.           Opcode-Address: Opcode Operand Mnemonic (Stackdepth) Linenumber
  12.  
  13.         The Stackdepth information consists of two numbers <rel>:<abs>:
  14.         <rel> is the relative stack usage in this function, <abs> is the
  15.         absolute stack usage.
  16.  
  17.         The linenumber information is appended if requested and a new
  18.         source line is reached. Also, calls between objects produce a
  19.  
  20.           Objectname Programname Linenumber
  21.  
  22.         entry in the resulting array (in verbose mode only).
  23.  
  24.         There is a preconfigured upper limit for the backtrace.
  25.  
  26. HISTORY
  27.         Introduced in 3.2.1@34
  28.         The absolute stack depth information was added in LDMud 3.2.8.
  29.  
  30. SEE ALSO
  31.         debug_message(E)
  32.